package com.teacher.pojo.vo.comment;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author jiangzhuohang
 * @create 2024/3/18 11:05
 */
@Data
public class CommentVo {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    /**
     * 拼车贴id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long carpoolId;


    /**
     * 截止时间
     */
    private LocalDateTime endTime;

    /**
     * 0未评价  1已评价
     */
    private Integer status;

    /**
     * 评论人名称
     */
    private String commentatorName;

    /**
     * 评论人openId
     */
    private String commentatorOpenId;


    /**
     * 被评论人名称
     */
    private String commenteeName;
    /**
     * 被评论人openId
     */
    private String commenteeOpenId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     * 评分
     */
    private Float score;
}
